# New ASM File
#we thought front end was boring...So we just made it cowboy bebop instead 
front_phase2_intro:
.asciiz "\n""I think its time we blow this scene, get everybody and the stuff together. Okay 3, 2, 1 Let's Jam"

front_phase2_question1:
.asciiz "\n" You are on your spaceship, no food, no money, you hear there is a bounty worth $1,000,000 up for grabs over by earth, what do you do? \n1. Ask jed to fly you over to earth. \n2. Tell Faye about a different job, and fly off to collect the bounty on your own. \n3. Jump in the Swordfish and like everything else go in alone.\n4. Be sick of your life, Julia is gone there is no reason to keep living."

jed:
.asciiz "\n"You, Jed, Faye, Ed, and Ein all set off to capture the bounty. After Faye almost ruins everything by trying to collect the bounty by herself, He is eventually caught. But when you turn him in to the police you find out he is only worth $1,000. It was just a misprint by BigShot. Everyone is still hungry go to phase 3"

Faye:
.asciiz "\nFaye goes off chassing mysterious bounty you made up. The rest of the crew flies towards earth, to find out that the bounty is not a person, it is actually an old satellite.  At the end of the day you end up with no bounty just another mouth to feed in the form of the young girl Ed. maybe you will have more luck in phase 3."

loner:
.asciiz "\nYou jump in the Swordfish and zip over to earth on your own.  You finally track down the bounty, you quickly find out the bounty hunter is none other than the second in comand to Vicious. After a long drawn out battle, he pulls a dirty trick and traps you. but before he can finish you off Faye shows up in the Red Tail and crashes the ship into him. You collect your reward and live another day. Move on to phase 3."

Dead:
.asciiz "\nAs you sit and think back on your life, you realize that you can never have Julia. The last thing left in your life is to try and take down Vicious. As you arrive at his last know location it becomes apparent that he is still there.  It is time for the final showdown. You run at him with your...\n1. guns drawn\n2. sword flying"

gun:
.asciiz "\nAs you take aim for the killing blow the strange bird begins pecking at your eyes. It gives Vicious just enough time to strike with his sword...Your Gun fires...You both fall dead. You have given up on life with nothing left to live for"

sword:
.asciiz "\nA crazy battle takes place, you soon realize that no matter what the outcome is there can be no winner. You fight hard, and when you see him come in for another swing you forgo your own defense and stab at his chest. There is no winner. You fall to the ground and with your last remnant of thought you realize the truth...\nPeace is a lie, there is only passion.\nThrough passion, I gain strength.\nThrough strenth, I gain power.\nThrough power, I gain victory.\nThrough victory, my chains are broken.\nThe Force shall free me...\n...\nyou are free"

phase2_front_start:

	li $a0, front_phase2_intro
	jal libplp_uart_write_string
	nop

	li $a0, front_phase2_question1
	jal libplp_uart_write_string
	nop

	# Go with jed
	move $t0, $v0
	li $t1, 0x00000031
	beq $t0, $t1, jed_1
	nop
	# screw faye...not literally
	move $t0, $v0
	li $t1, 0x00000032
	beq $t0, $t1, Faye_1
	nop
	# who needs friends im awsome
	move $t0, $v0
	li $t1, 0x00000033
	beq $t0, $t1, loner_1
	nop
	# Julia is gone forever...
	move $t0, $v0
	li $t1, 0x00000034
	beq $t0, $t1, dead_1
	nop

jed_1:
	li $a0, jed
	jal libplp_uart_write_string
	nop
	j phase_3_begin
	nop
Faye_1:
	li $a0, Faye
	jal libplp_uart_write_string
	nop
	j phase_3_begin
	nop
loner_1:
	li $a0, loner
	jal libplp_uart_write_string
	nop
	j phase_3_begin
	nop
dead_1:
	li $a0, Dead
	jal libplp_uart_write_string
	nop
	j phase_3_begin
	nop
	# I choose you pika...no wait I want the gun
	move $t0, $v0
	li $t1, 0x00000031
	beq $t0, $t1, gun_1
	nop
	# lets go swords for the win...o wait thats no sword thats a lightsaber
	move $t0, $v0
	li $t1, 0x00000032
	beq $t0, $t1, sword_1
	nop
gun_1:
	li $a0, gun
	jal libplp_uart_write_string
	nop
	j start
	nop
sword_1:
	li $a0, sword
	jal libplp_uart_write_string
	nop
	j start
	nop